package orm;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * Created by fin on 2017/7/8.
 */
public class User {

    private int id;

    private String userName;

    private String password;

    private String phoneNumber;

    private String mailbox;

    private String introduction;

    public User(){
    }

    @JsonProperty
    public String getMailbox() {
        return mailbox;
    }

    @JsonProperty
    public void setMailbox(String mailbox) {
        this.mailbox = mailbox;
    }

    @JsonProperty
    public void setId(int id) {
        this.id = id;
    }

    @JsonProperty
    public String getPassword() {
        return password;
    }

    @JsonProperty
    public void setPassword(String password) {
        this.password = password;
    }

    @JsonProperty
    public String getPhoneNumber() {
        return phoneNumber;
    }

    @JsonProperty
    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    @JsonProperty
    public int getId() {
        return id;
    }

    @JsonProperty
    public String getUserName() {
        return userName;
    }

    @JsonProperty
    public void setUserName(String userName) {
        this.userName = userName;
    }

    @JsonProperty
    public String getIntroduction() {
        return introduction;
    }

    @JsonProperty
    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }
}
